Skip to content

Test new error handling indicating when the sandbox is not found #540

Merged
0div merged 32 commits intomainfrom
return-error-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test
Apr 25, 2025
Merged

Test new error handling indicating when the sandbox is not found #540
0div merged 32 commits intomainfrom
return-error-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test

Conversation

@0div
Copy link
Copy Markdown
Contributor

@0div 0div commented Jan 16, 2025

Added a test in js-sdk for e2b-dev/infra#231

@linear
Copy link
Copy Markdown

linear bot commented Jan 16, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 16, 2025

⚠️ No Changeset found

Latest commit: 004caee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we do the same for Python?

Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Co-authored-by: Jakub Novák <jakub@e2b.dev>
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
@0div
Copy link
Copy Markdown
Contributor Author

0div commented Jan 16, 2025

Could we do the same for Python?

This is more of an integration test rather than a unit test, do you think it's necessary?

@0div
Copy link
Copy Markdown
Contributor Author

0div commented Jan 16, 2025

Could we do the same for Python?

This is more of an integration test rather than a unit test, do you think it's necessary?

@jakubno maybe relevant to that comment: #519

Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
@0div 0div requested a review from mlejva as a code owner January 18, 2025 01:21
@ValentaTomas ValentaTomas added the Improvement Improvement for current functionality label Jan 18, 2025
@0div 0div force-pushed the return-error-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test branch from f0def1b to a9c283e Compare January 18, 2025 01:48
Comment thread .gitignore Outdated
Comment thread packages/js-sdk/package.json Outdated
Comment thread packages/js-sdk/package.json Outdated
Comment thread packages/js-sdk/tests/sandbox/commands/sendStdin.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
…or-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test
@0div 0div requested a review from jakubno January 18, 2025 02:54
@ValentaTomas ValentaTomas requested review from dobrac and removed request for mishushakov April 4, 2025 19:13
@ValentaTomas
Copy link
Copy Markdown
Member

@0div Let's just resolve the comments and merge—we can move to integration tests later.

…or-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test
@0div 0div requested a review from jakubno April 24, 2025 17:23
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/connect.test.ts Outdated
Comment thread packages/js-sdk/tests/sandbox/host.test.ts Outdated
Co-authored-by: Jakub Novák <jakub@e2b.dev>
Co-authored-by: Jakub Novák <jakub@e2b.dev>
Co-authored-by: Jakub Novák <jakub@e2b.dev>
@0div 0div dismissed dobrac’s stale review April 25, 2025 21:40

requested change was addressed already

@0div 0div merged commit 8bfd3c0 into main Apr 25, 2025
5 checks passed
@0div 0div deleted the return-error-indicating-that-the-sandbox-is-not-running-when-e2b-1327-test branch April 25, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Improvement for current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants